import * as monaco from 'monaco-editor/esm/vs/editor/editor.api';



// json
import 'monaco-editor/esm/vs/language/json/monaco.contribution'
import 'monaco-editor/esm/vs/language/json/json.worker?worker'

// css
import 'monaco-editor/esm/vs/language/css/monaco.contribution';
import 'monaco-editor/esm/vs/basic-languages/css/css.contribution';
import 'monaco-editor/esm/vs/language/css/css.worker'

// 格式化
import 'monaco-editor/esm/vs/editor/contrib/format/browser/formatActions'

// 折叠
import 'monaco-editor/esm/vs/editor/contrib/folding/browser/folding'

// 缩进
import 'monaco-editor/esm/vs/editor/contrib/indentation/browser/indentation'

// 注释
import 'monaco-editor/esm/vs/editor/contrib/comment/browser/comment'

// 语法提示

import 'monaco-editor/esm/vs/editor/contrib/suggest/browser/suggestController.js';
import 'monaco-editor/esm/vs/editor/contrib/suggest/browser/suggestInlineCompletions.js';

// 搜索替换
import 'monaco-editor/esm/vs/editor/contrib/find/browser/findController'
import 'monaco-editor/esm/vs/editor/contrib/find/browser/findWidget'

export default monaco
